import axios from '@/libs/api.request'

export const saveUserInfo = (data) => {
  return axios.request({
    url: 'sysUser/saveUserInfo',
    method: 'post',
    data
  })
}
export const getUserList = (data) => {
  return axios.request({
    url: 'sysUser/getUserList',
    method: 'post',
    data
  })
}
export const getUserInfo = (data) => {
  return axios.request({
    url: 'sysUser/getUserInfo',
    method: 'post',
    data
  })
}
//批量保存组织用户
export const saveDeptUsers = (data) => {
  return axios.request({
    url: 'sysUser/saveDeptUsers',
    method: 'post',
    data
  })
}
